home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Draw / Include / DrawDef.h next >
Encoding:
Text File  |  1994-04-21  |  1.3 KB  |  52 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                DrawDef.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                Henri Lamiraux
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef DRAWDEF_H
  14. #define DRAWDEF_H
  15.  
  16. // Kind
  17. #define kDrawKind "Apple:Kind:Framework:Sample:Draw"
  18.  
  19. // Class ID
  20. #define kCDrawPartID "appl:framework:sample:drawpart$class"
  21.  
  22. // Editor User String
  23. #define kDrawEditorUserString "Sample Draw 1.0"
  24.  
  25. // Kind User String
  26. #define kDrawKindUserString "Sample Draw"
  27.  
  28. // Category User String
  29. #define kDrawCategoryUserString "2D Graphics"
  30.  
  31. // Draw OSType
  32. #define kDrawOSType 'PICT'
  33.  
  34. #define FW_kKindCategoryMapId        kNMAPid+1
  35. #define FW_kEditorKindMapId            kNMAPid+2
  36. #define FW_kEditorUserStringMapId    kNMAPid+3
  37. #define FW_kKindUserStringMapId        kNMAPid+4
  38. #define FW_kCategoryUserStringMapId    kNMAPid+5
  39. #define FW_kOldMacOSTypeMapId        kNMAPid+6
  40.  
  41. // Frame Presentations
  42. #define kMainPresentation        "Apple:Presentation:DrawPart:Main"
  43. #define kPalettePresentation    "Apple:Presentation:DrawPart:Palette"
  44. #define kToolPresentation        "Apple:Presentation:DrawPart:Tool"
  45.  
  46. // ----- type -----
  47. #define kPublishFormat    "Apple:Publish:Draw"
  48.  
  49.  
  50. #endif
  51.  
  52.